<#escape x as x?html>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>高级中学选课与学分认定系统</title>
    <link rel="stylesheet" type="text/css" href="${rc.contextPath}/resources/css/easyui.css">
    <link rel="stylesheet" type="text/css" href="${rc.contextPath}/resources/css/icon.css">
    <style type="text/css">
        * {
            font-size: 12px;
        }

        body {
            font-family: "微软雅黑";
            padding: 20px;
            font-size: 13px;
            margin: 0;
        }

        .click-cell-noback {
            background-image: none;
            background-color: transparent;
            color: #000;
        }
    </style>
    <script type="text/javascript" src="${rc.contextPath}/resources/js/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="${rc.contextPath}/resources/js/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="${rc.contextPath}/resources/js/jquery.timers-1.2.js"></script>
    <script type="text/javascript" src="${rc.contextPath}/resources/js/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="${rc.contextPath}/resources/js/jquery.edatagrid.js"></script>
    <script type="text/javascript" src="${rc.contextPath}/resources/js/detailview.js"></script>
    <script type="text/javascript" src="${rc.contextPath}/resources/js/share.js"></script>
    <script type="text/javascript" src="${rc.contextPath}/resources/js/jquery.jqprint.js"></script>
    <script type="text/javascript" src="${rc.contextPath}/resources/js/studymanage.js"></script>
</head>
<body id="course_study_layout" class="easyui-layout" data-options="fit:true">
    <#assign electived=isElective>
<input id="is_elective" type="hidden" value="${electived?string}"/>
    <#assign term_param=param.term>
    <#assign section_param=param.section>
<input id="term_param" type="hidden" value="${term_param?string}"/>
<input id="section_param" type="hidden" value="${section_param?string}"/>
<input id="student_name" type="hidden"
       value="${SPRING_SECURITY_CONTEXT.authentication.principal.user.userName?string}"/>

<div data-options="region:'center'">
    <table id="course_table"></table>
</div>

<div data-options="region:'south',title: '未定义的区域',split: true,border:true,collapsible:false,onBeforeCollapse:function(){
                return false;
            }" style="height: 250px">
    <#if !electived>
        <table id='course_study_log_table'></table>
        <div id="log_dialog">
            <div id="log_tabs"></div>
        </div>
    <#else>
        <table id='course_student_list_table'></table>
    </#if>
</div>

<div id="tb">
    <a id="blackListManage" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true">管理黑名单</a>
    <#if !electived>
        <a id="print" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-print',plain:true">打印教师课表</a>
    </#if>

</div>

<div id="manageBlackListDialog">
    <table id="studentsInBlackListDataGrid"></table>
    <div id="add_student_dlg" class="easyui-dialog" title="添加学生" style="width:350px;height:150px;padding:10px"
         data-options="
                iconCls: 'icon-add',
                buttons: '#add_student_buttons',
                modal:true,
                closed:true
            ">
        <div style="padding:10px 0 10px 60px">
            <table style="text-align: center">
                <tr>
                    <td>学生姓名：</td>
                    <td>
                        <select id="student_combo" class="easyui-combogrid" style="width:100px">
                        </select>
                    </td>
                </tr>
            </table>
        </div>

    </div>
    <div id="add_student_buttons">
        <a id="add_student_submit" href="#" class="easyui-linkbutton" data-options="iconCls: 'icon-ok'">提交</a>
    </div>
</div>
<div style="display: none">
    <div id="date_selector_dlg" class="easyui-dialog" title="提示输入" style="width:250px;height:150px;padding:10px"
         data-options="
                iconCls: 'icon-edit',
                buttons: '#date_selector_dlg_buttons',
                modal:true,
                closed:true
            ">
        <div style="padding:0px 0px 0px 35px">
            <table>
                <tr>
                    <td>请输入日志日期：</td>
                </tr>
                <tr>
                    <td style="text-align: center">
                        <input id="dt" type="text"/>
                    </td>
                </tr>
            </table>
        </div>

    </div>
    <div id="date_selector_dlg_buttons">
        <a id="date_selector_submit" href="#" class="easyui-linkbutton" data-options="iconCls: 'icon-ok'">提交</a>
        <a id="date_selector_cancel" href="#" class="easyui-linkbutton" data-options="iconCls: 'icon-cancel'">取消</a>
    </div>
</div>
</body>
</html>
</#escape>